package com.stockz.downloader;

import com.stockz.downloader.util.DownloaderConstant;

public class Download<T> {

	private T payload;
	public DownloaderConstant.ACTION action;
	public DownloaderConstant.EVENT event;

	public T getPayload() {
		return payload;
	}

	public void setPayload(T payload) {
		this.payload = payload;
	}

	public DownloaderConstant.EVENT getEvent() {
		return event;
	}

	public void setEvent(DownloaderConstant.EVENT event) {
		this.event = event;
	}

	public DownloaderConstant.ACTION getAction() {
		return action;
	}

	public void setAction(DownloaderConstant.ACTION action) {
		this.action = action;
	}
	
}
